POV-Ray : Newsgroups : povray.binaries.images : Need help with Colefax' Splines (Coil spline) 1 attachement 12kb : Re: Need help with Colefax' Splines (Coil spline) 1 attachement 23kb Server Time
16 Nov 2024 10:32:10 EST (-0500)
  Re: Need help with Colefax' Splines (Coil spline) 1 attachement 23kb  
From: Manuel Kasten
Date: 9 Feb 2003 17:20:41
Message: <3e46d439@news.povray.org>
"hughes, b." <omn### [at] charternet> schrieb:
> Never seen that happen before so I couldn't tell you anything. It doesn't
> looks like a part of the spline, e.g. a misplaced endpoint/control point.
> Looks a lot like a separate piece.
>
> Is this using the spline macro? I suppose there's a chance it could be where
> two splines meet...  No way of knowing without checking the pov script.
>
>

It is only one spline.

I was able to reproduce it, but that didn't help me to avoid it in my scene.

Here's the reproduce:


----------code----------
#include "spline.mcr"

#declare coil = create_spline (
   array[3] {<-75,0,0><0,0,3><75,0,0>},
   create_default_spline +
   spline_sampling (on) )

#declare coil2 = create_spline (
   array[3] {<0,0,-75><-3,0,0><0,0,75>},
   create_default_spline +
   spline_sampling (on) )

union {coil_spline (coil, spline_steps (40)
   + spline_radius (4)
   + coil_radius (1.5))
   pigment {rgb <1, 0, 0>}
   finish {phong 0.6}
   translate 20*z}

union {coil_spline (coil2, spline_steps (40)
   + spline_radius (4)
   + coil_radius (1.5))
   pigment {rgb <1, 0, 0>}
   finish {phong 0.6}
   rotate 90*y
   translate -20*z}


camera {location  <0,500,-150> look_at <0,0,0> angle 20}
background{rgb 1}
light_source { <500,500,500> rgb 1 }

----------end_code----------


Post a reply to this message


Attachments:
Download 'problem2.jpg' (24 KB)

Preview of image 'problem2.jpg'
problem2.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.